﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - 课题管理平台</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")



</head>
<body>
    <header>
        <section id="login">
            <div class="container">
                @Html.Partial("_LoginPartial")
            </div>
        </section>
        <div class="container">
            @*<div style="display:inline-block;">
        `           <h3>@Html.ActionLink("Project", "Index", "Home")</h3>
            </div>*@
            <div class="text-center" style="display:inline-block;width:100%;">
                <nav>
                    <ul id="menu">
                        <li>@Html.MenuLink("首页", "Index", "Home")</li>
                        <li>@Html.MenuLink("通知", "Index", "Notices")</li>
                        <li>@Html.MenuLink("项目", "Index", "Project")</li>
                        <li>@Html.MenuLink("资源", "Index", "Resource")</li>
                        <li>@Html.MenuLink("新闻", "Index", "News")</li>
                        @if (Request.IsAuthenticated)
                        {
                            if (Roles.IsUserInRole("sysadmin"))
                            {
                                <li>@Html.MenuLink("标签管理", "Index", "Tag")</li>
                                <li>@Html.MenuLink("成员管理", "Index", "Member")</li>
                            }
                        }

                    </ul>
                </nav>
            </div>
        </div>
    </header>

    <div id="body">
        @RenderSection("featured", required: false)
        <section class="container">
            @RenderBody()
        </section>
    </div>
    <footer>
        <div class="container">
            <div class="text-center">
                <p>
                    &copy; @DateTime.Now.Year - 版权所有 虹口区教师进修学院 
                </p>
            </div>
        </div>
    </footer>


    @RenderSection("scripts", required: false)
    @RenderSection("Styles",required:false)
</body>
</html>

